package cn.edu.shou.lab.config.query;

public class Condition{
    private String dataTable;//数据库表名称
    private String name;//该表中的字段名
    private Object value;//该字段的值
    private String mode = "0";//该字段的查询模式：0:精确查询，1:右近似查询，2:左近似查询，3:全近似查询

    public String getDataTable() {
        return dataTable;
    }

    public void setDataTable(String dataTable) {
        this.dataTable = dataTable;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }
}